package org.shagin.jfin.date.cond;

import java.util.Date;

/**
 * The Class Never.
 */
@SuppressWarnings("serial")
public class Never implements IDateCondition {

    private DateRange range = new DateRange();

    /**
     * {@inheritDoc}
     */
    @Override
    public boolean validDate(Date date) {
        return false;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public DateRange getRange() {
        return range;
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String toString() {
        return "Никогда :(";
    }

    /**
     * {@inheritDoc}
     */
    @Override
    public String format() {
        return "Never";
    }
}
